// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.documentCirculation.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * DataTaskBranch 列表项类
 * @author yl_ls
 */
@Data
@Schema(title = "数据事务分支 列表项")
public class DataTaskBranchItemVo implements Serializable {

  /**
   * 所属数据事务
   */
  @Schema(title = "所属数据事务")
  private Long parentId;

  /**
   * 关联所属数据事务的名称
   */
  @Schema(title = "关联所属数据事务的名称")
  private String parentIdName;

  /**
   * 编号
   */
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 类型
   */
  @Schema(title = "类型")
  private String type;

  /**
   * 源表
   */
  @Schema(title = "源表")
  private String fromTable;

  /**
   * 源表
   */
  @Schema(title = "源对象")
  private String fromObjectName;

  /**
   * 源主子表关联
   */
  @Schema(title = "源主子表关联")
  private String fromAssociation;

  /**
   * 目标表
   */
  @Schema(title = "目标表")
  private String toTable;

  /**
   * 目标对象
   */
  @Schema(title = "目标对象")
  private String toObjectName;

  /**
   * 源主子表关联
   */
  @Schema(title = "目标主子表关联")
  private String toAssociation;

  /**
   * 源表状态字段
   */
  @Schema(title = "源表状态字段")
  private String fromTableStatusField;

  /**
   * 中间值
   */
  @Schema(title = "中间值")
  private String median;

  /**
   * 完成值
   */
  @Schema(title = "完成值")
  private String completionValue;

  /**
   * 源表检测字段
   */
  @Schema(title = "源表检测字段")
  private String fromTableDetectionField;

  /**
   * 源表钩稽字段
   */
  @Schema(title = "源表钩稽字段")
  private String fromTableCrossCheckFields;

  /**
   * 源表数量字段
   */
  @Schema(title = "源表数量字段")
  private String fromTableCrossBackFields;

  /**
   * 目标表钩稽数据字段
   */
  @Schema(title = "目标表钩稽数据字段")
  private String toTableCrossCheckFields;

  /**
   * 源表钩稽累积字段
   */
  @Schema(title = "源表钩稽累积字段")
  private String fromTableCumulativeFields;

  /**
   * 目标表ID列
   */
  @Schema(title = "目标表ID列")
  private String toTableIdColumn;

    /**
   * 目标表子表ID列
   */
  @Schema(title = "目标表子表ID列")
  private String toTableBdIdColumn;

  /**
   * 钩稽标识
   */
  @Schema(title = "钩稽标识")
  private Boolean crossCheckId;

  /**
   * 唯一数据字段对应
   */
  @Schema(title = "唯一数据字段对应")
  private String uniqueMappings;

  /**
   * 可钩稽负数
   */
  @Schema(title = "可钩稽负数")
  private Boolean supportNegative;

  /**
   * 可超出源数量
   */
  @Schema(title = "可超出源数量")
  private Boolean supportBeyond;

  @Schema(title = "红冲支持")
  private Boolean isNegative;

  @Schema(title = "勾稽红冲")
  private Boolean isHCCrossChecking;

  /**
   * 字段映射
   */
  @Schema(title = "字段映射")
  private List<DataTaskMappingItemVo> mappings;
}
